home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
201-225
/
217
/
snipit
/
patch.doc
< prev
next >
Wrap
Text File
|
1995-03-13
|
1KB
|
44 lines
KeyMap patcher:
==============
The program "patch" will "fix" SnipIt to work with foreign, custom, and the
Dvorak keymaps. This measure is a stopgap "bandaid" (i.e., hack) until a
more appropriate handling of KeyMaps is employed by SnipIt.
Make sure that (a copy of) "snipit" and a file named "snipit.keys" are in
the 'current directory'. Simply incant:
> patch
and SnipIt will be modified according to the data in the "snipit.keys" file.
The file "snipit.keys" has a format like the following (this example is
the default- for the 'usa0' keymap):
40 81 AA 83 84 85 87 2A
89 8A 88 8C 38 0B 39 3A
0A 01 02 03 04 05 06 07
08 09 A9 29 B8 0C B9 BA
82 A0 B5 B3 A2 92 A3 A4
A5 97 A6 A7 A8 B7 B6 98
99 90 93 A1 94 96 B4 91
B2 95 B1 1A 0D 1B 86 8B
00 20 35 33 22 12 23 24
25 17 26 27 28 37 36 18
19 10 13 21 14 16 34 11
32 15 31 9A 8D 9B 80
It should be a list of 95 hexadecimal numbers, each corresponding to the
ASCII codes 32-126 (95 codes- ' ' thru '~'). The hex number is the I.D.
of the keyboard key (as revealed in the Appendix to the AmigaDOS Technical
Manual and other sources). If the keyboard key must be "shifted" in order
to achieve the corresponding ASCII code, then the hex keycode number is
"OR"ed with an 0x80 (high bit on).
The patch program simply searches the SnipIt program file looking for the
original hardwired table, and then overwrites the 95 code values.
Consequently, you need to run "patch" on the original copy of SnipIt.
-scott